Skip to content

Conversation

james-fairbairn
Copy link

@james-fairbairn james-fairbairn commented Dec 19, 2024

Using the library as is causes .NET Framework MVC sites to deadlock.

As per the excellent Stephen Cleary (https://blog.stephencleary.com/2012/07/dont-block-on-async-code.html) when targeting .NET framework;

In your "library" async methods, use ConfigureAwait(false) wherever possible.

@cnblogs-dudu cnblogs-dudu changed the title Configure await false eveywhere Configure await false everywhere Dec 19, 2024
@cnblogs-dudu cnblogs-dudu merged commit 33215f2 into cnblogs:main Dec 19, 2024
1 check passed
sanikachavan5 pushed a commit to carwale/EnyimMemcachedCore that referenced this pull request Jan 17, 2025
refactor: configure await false everywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants